/* tslint:disable */
/* eslint-disable */

import React, { CSSProperties, SVGAttributes, FunctionComponent } from 'react';
import { getIconColor } from './helper';

interface Props extends Omit<SVGAttributes<SVGElement>, 'color'> {
  size?: number;
  color?: string | string[];
}

const DEFAULT_STYLE: CSSProperties = {
  display: 'block',
};

const IconPetNan: FunctionComponent<Props> = ({ size, color, style: _style, ...rest }) => {
  const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE;

  return (
    <svg viewBox="0 0 1024 1024" width={size + 'rem'} height={size + 'rem'} style={style} {...rest}>
      <path
        d="M492.544 68.44416a30.72 30.72 0 0 1 41.2672 1.98656l130.33472 130.33472 1.98656 2.19136a30.72 30.72 0 0 1-1.98656 41.2672l-2.19136 1.98656a30.72 30.72 0 0 1-41.2672-1.98656L542.72 166.23616v183.43936C697.9584 365.09696 819.2 496.06656 819.2 655.36c0 169.65632-137.54368 307.2-307.2 307.2-169.65632 0-307.2-137.54368-307.2-307.2 0-159.29344 121.2416-290.26304 276.48-305.68448V166.4l-77.824 77.824-2.17088 1.98656a30.72 30.72 0 0 1-41.2672-45.44512l130.33472-130.33472zM512 409.6c-135.72096 0-245.76 110.03904-245.76 245.76s110.03904 245.76 245.76 245.76 245.76-110.03904 245.76-245.76-110.03904-245.76-245.76-245.76z"
        fill={getIconColor(color, 0, '#333333')}
      />
    </svg>
  );
};

IconPetNan.defaultProps = {
  size: 30,
};

export default IconPetNan;
